<?php defined('KX_ROOT') || exit('Permission denied');?><!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8" name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
    <title><?php include \Kuxin\View::parseTpl($tkd['title']);?></title>
    <meta name="keywords" content="<?php include \Kuxin\View::parseTpl($tkd['keywords']);?>">
    <meta name="description" content="<?php include \Kuxin\View::parseTpl($tkd['description']);?>">
	<link rel="stylesheet" href="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxmobileno1/css/global.css"/>
	<script src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxmobileno1/js/flexible.min.js"></script>
    <link rel="shortcut icon" type="image/ico" href="/favicon.ico" />
    <meta name="author" content="www.ptcms.com">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width" />
    <meta name="applicable-device" content="pc">
    <meta http-equiv="mobile-agent" content="format=html5; url=<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "mobileurl");?><?php echo $_SERVER['REQUEST_URI'];?>">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <meta http-equiv="Cache-Control" content="no-transform" />
    <link rel="canonical" href="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "pcurl");?><?php echo $_SERVER['REQUEST_URI'];?>" />
    <style>

    </style>
</head>
<body>
	<div class="w100  bg-white flex-wrp flex-align-center flex-between lh100 plr15 ptb15">
		<img src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxmobileno1/images/return.png" class="pt-return" onclick="window.history.back();">
		<div class="size18 bold color37">专题详情</div>
        <div><img src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxmobileno1/images/ellipsis.png" class="mr5 pt-ellipsis"></div>
        <div class="pt5 pb5 pt-tip">
        </div>
	</div>
    <div>
        <div class="plr15 bg-white pb30">
            <h3 class="color37"><?php echo $special['title'];?> </h3>
            <div class="compulsory-row-three pt-bookdetail-intro size14 pt10">
               <span class="color62 bold">专题概述：</span><?php echo showIntroLine($special['intro']);?>
            </div>
            <div class="stat size12 pt10">
                书籍 <span class="color2"><?php echo $special['num_novel'];?></span><span class="color3 plr5">/</span>
                浏览 <span class="color2"><?php echo $special['num_allvisit'];?></span>
                <span class="fr color92"><?php echo \Kuxin\View::date($special['create_time'],'Y-m-d H:i');?></span>
            </div>
        </div>
        <style>
            .pt-booklist-novels li{
                background-color: #fff;
            }
            .pt-booklist-novels li:first-child{
                border-top: 1px solid #eee;
            }
            .pt-booklist-novels li .pt-novel-cover{
                width: 110px;
                height: 150px;
            }
            .pt-novel-comment{
                height:63px;
                border:1px solid #E9E9E9;
            }
        </style>
        <ul class="pt-booklist-novels">
            <?php if(is_array($special['novels'])): foreach($special['novels'] as $key =>$loop):?>
            <li class="pt-novels plr15 pb15">
                <a href="<?php echo \Kuxin\Helper\Url::build("novel.novel.index",['novelid'=>$loop['novel']['id'],'pinyin'=>$loop['novel']['pinyin']],"");?>">
                    <div class="flex-wrp pt-popular-item">
                        <img src="<?php echo $loop['novel']['cover'];?>" class="mr15" alt="<?php echo $loop['novel']['name'];?>">
                        <div class="flex-item pt5">
                            <div class="flex-wrp flex-between">
                                <div class="size14">
                                    <span class="color7"><?php echo $loop['novel']['name'];?></span>
                                </div>
                                <span class="size12" style="float: right">评分 <span class="color2 size16 bold"><?php echo $loop['data']['star'];?></span></span>

                            </div>
                            <div class="size12 pt5 bold"><?php echo $loop['author']['name'];?> / <?php echo $loop['category']['name'];?> / <?php echo $loop['novel']['is_over']?'完结':'连载';?></div>
                            <div class="size12 pt5"><span class="color2"><?php echo $loop['data']['allvisit'];?></span>人在读</div>
                        </div>
                    </div>
                </a>
                <div class="pt-novel-comment compulsory-row plr10 ptb10"><?php echo showIntro($loop['comment']);?></div>
            </li>
            <?php endforeach; endif;?>
        </ul>
    </div>
</body>
<div class="pt-copyright">
    <div class="size12  w100 text-center mt15 mb10"><a title="隐私声明" href="<?php echo \Kuxin\Helper\Url::build("page.detail",['key'=>'privacy'],"");?>" class="color4">隐私声明</a> | <a title="免责声明" href="<?php echo \Kuxin\Helper\Url::build("page.detail",['key'=>'disdaimer'],"");?>" class="color4">免责声明</a> | <a title="关于我们" href="<?php echo \Kuxin\Helper\Url::build("page.detail",['key'=>'about'],"");?>" class="color4">关于我们</a></div>
    <div class="size12 color4 w100 text-center mb10">Copyright © 2009-<?php echo date(Y);?> <?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "beian");?></div>
    <div class="size12  w100 text-center"><?php echo \Kuxin\Response::runinfo();?></div>
</div>
<!-- js -->
<script src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxmobileno1/js/jquery-3.3.1.js"></script>
<script>
    $('.pt-return,.pt-recall').click(function(){
        window.history.back();
    });
    $('.pt-ellipsis').click(function(){
        $('.pt-tip').toggle()
    });
    $('.pt-tip .pt-tip-item').click(function(){
        $('.pt-tip').toggle()
    });
</script>
<div class="none">
    <?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "tongji.mobile");?>
    <?php if(\Kuxin\Helper\Arr::getValue($_kxcms_config, "app.use_cdn")):?>
    <script src="/api/stat/novel/info.js"></script>
    <script src="/api/stat/novel/read.js"></script>
    <?php endif;?>
</div>
<script src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/template/kxmobileno1/js/layer/mobile/layer.js"></script>
<script>
    $('.pt-novel-comment').click(function(){
        layer.open({
            type: 1,
            content:'<div class="plr5">'+this.innerHTML+'</div>',
            anim: 'up',
            style: 'position:fixed; bottom:0; left:0; width: 100%; height: 80%; padding:10px 0; border:none;'
        });
    });
</script>
<?php if(\Kuxin\Helper\Arr::getValue($_kxcms_config, "app.use_cdn")):?>
<script src="<?php echo \Kuxin\Helper\Arr::getValue($_kxcms_config, "resurl");?>/api/stat/special/info.js"></script>
<?php endif;?>
</html>